import React from "react";
import "./index.css"; // 导入CSS文件
//组件的基础样式处理
function App() {
  return (
    <div>
      {/* 行内 */}
      <div style={{ color: "pink" }}>This is a div with inline style</div>
      {/* 使用类名 */}
      <div className="foo">This is a div with class name</div>
    </div>
  );
}

export default App;
